package com.zhouqinuan.spring.cloud.develop.framework.rabbitmq.consumer;

import org.springframework.amqp.core.Message;
import org.springframework.amqp.rabbit.annotation.RabbitHandler;

import com.rabbitmq.client.Channel;

public interface MessageConsumer<T> {

    @RabbitHandler
    public void processMessage(T entity, Channel channel, Message message);
    
}
